package abstractFactory;
/*
 * @auther 顶风少年
 * @mail dfsn19970313@foxmail.com
 * @date 2019-07-24 10:53
 * @notify 管理热带农场的园丁
 * @version 1.0
 */


public class TropicalGardener implements Gardener{

    //热带水果
    public Fruit createFruit(String name){
        return new TropicalFruit(name);
    }

    //热带蔬菜
    public Veggie createVeggie(String name){
        return new TropicalVeggie(name);
    }
}
